using System;
using System.Collections.Generic;

namespace Maxleaf.EDI.Domain.K3
{
    public partial class t_Item
    {
        public t_Item()
        {
            this.ICPurBills = new List<ICPurBill>();
            this.ICPurBills1 = new List<ICPurBill>();
            this.ICPurBills2 = new List<ICPurBill>();
            this.STInvoices = new List<STInvoice>();
            this.STInvoices1 = new List<STInvoice>();
            this.STInvoices2 = new List<STInvoice>();
            this.t_Item1 = new List<t_Item>();
        }

        public int FItemID { get; set; }
        public int FItemClassID { get; set; }
        public int FExternID { get; set; }
        public string FNumber { get; set; }
        public int FParentID { get; set; }
        public short FLevel { get; set; }
        public bool FDetail { get; set; }
        public string FName { get; set; }
        public Nullable<bool> FUnUsed { get; set; }
        public string FBrNo { get; set; }
        public string FFullNumber { get; set; }
        public bool FDiff { get; set; }
        public short FDeleted { get; set; }
        public string FShortNumber { get; set; }
        public string FFullName { get; set; }
        public System.Guid UUID { get; set; }
        public int FGRCommonID { get; set; }
        public int FSystemType { get; set; }
        public int FUseSign { get; set; }
        public Nullable<short> FChkUserID { get; set; }
        public short FAccessory { get; set; }
        public int FGrControl { get; set; }
        public byte[] FModifyTime { get; set; }
        public virtual ICollection<ICPurBill> ICPurBills { get; set; }
        public virtual ICollection<ICPurBill> ICPurBills1 { get; set; }
        public virtual ICollection<ICPurBill> ICPurBills2 { get; set; }
        public virtual ICollection<STInvoice> STInvoices { get; set; }
        public virtual ICollection<STInvoice> STInvoices1 { get; set; }
        public virtual ICollection<STInvoice> STInvoices2 { get; set; }
        public virtual t_ItemClass t_ItemClass { get; set; }
        public virtual ICollection<t_Item> t_Item1 { get; set; }
        public virtual t_Item t_Item2 { get; set; }
    }
}
